package com.huiminpay.merchant.covert;


import com.huiminpay.merchant.vo.PayChannelParamVo;
import com.huiminpay.transaction.dto.PayChannelParamDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface PayChannelParamCovert {

    PayChannelParamCovert INSTANCE = Mappers.getMapper(PayChannelParamCovert.class);




    PayChannelParamDTO vo2dto(PayChannelParamVo payChannelParamVo);
    List<PayChannelParamDTO> vo2dtoList(List<PayChannelParamVo> payChannelParamVos);


    PayChannelParamVo dto2vo(PayChannelParamDTO payChannelParamDTO);
    List<PayChannelParamVo> dto2voList(List<PayChannelParamDTO> payChannelParamDTOS);
}
